package com.inyl.spring.lab.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class TestController {
	@RequestMapping("/test")
	public ModelAndView test(){
		ModelAndView mav = new ModelAndView("/test");
		mav.addObject("hello","hello world");
		return mav ;
	}
}
